package com.ygqh.baby.ao;

/**
 * 0=待定（默认值）；-1=无效订单； 1=有效订单 2=订单已支付 
 * 注：此处code值请勿改动。其对应LinkStars中订单状态
 * @author admin
 *
 */
public enum OrderStatus {
	TradeClosed(-1, "交易关闭"), WaitingPay(0, "待付款"), WaitingCheck(0, "待人工审核"),
	WaitingSend(2, "待发货"), WaitingSign(2, "待确认收货"), TradeSuccess(1, "交易成功");

	/** 状态码 */
	private Integer code;
	/** 状态名称 */
	private String title;

	OrderStatus(Integer code, String title) {
		this.code = code;
		this.title = title;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
}
